package com.sanlit.inv.config;

import lombok.Data;
import org.springframework.http.HttpStatus;

/**
 * @author junjie.li
 * @date 2021/3/21 16:13
 */
@Data
public class ResponseBean<T> {
    private int status = HttpStatus.OK.value();

    private String errorCode = "";

    private String errorMsg = "";

    private T data;

    public ResponseBean() {
    }

    public ResponseBean(T data) {
        this.data = data;
    }

}
